<template>
	<view>
		<view class="sea-top">
			<view class="top-left">
				<view class="left-image">
					<image src="../../static/icons/ss.png" mode="widthFix"></image>
				</view>
				<view class="left-ipt">
					<input class="ipt-item" type="text" placeholder="" />
				</view>
			</view>
			<view class="top-right" @click="goBack">
				取消
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			goBack() {
				// 返回上一级并刷新当前页面
				this.$router.go(-1)
			}
		}
	}
</script>

<style lang="scss">
	* {
		box-sizing: border-box;
	}
	
	.sea-top {
		padding: 10px;
		display: flex;
		align-items: center;
		width: 750rpx;
		height: 100rpx;
		border-bottom: 1px solid #e8e8e8;
		
		.top-left {
			// margin: 10px;
			// padding: 10px;
			flex: 8.5;
			display: flex;
			align-items: center;
			width: 85%;
			height: 100%;
			background-color: #eaeaea;
			border-radius: 5px;
			
			.left-image {
				padding: 8px 5px 5px 5px;
				// padding: 10px;
				// width: 85%;
				// height: 100%;
				
				image {
					width: 30rpx;
					height: 30rpx;
				}
			}
			
			.left-ipt {
				width: 100%;
				height: 100%;
				
				.ipt-item {
					height: 100%;
					font-size: 14px;
				}
			}
		}
		
		.top-right {
			flex: 1.5;
			float: right;
			width: 100%;
			text-align: center;
			font-size: 12px;
		}
	}
</style>
